import Login from "@/Login.vue";
import Main from "@/Main.vue";
import { createRouter, createWebHashHistory, createWebHistory } from "vue-router";

const router = createRouter({
    history: createWebHashHistory,
    routes: [
        {
            path: "/",
            redirect: "/login",
        },
        {
            path: "/login",
            component: Login,
        },
        {
            path: "/main",
            component: Main,
        },
    ]
})

export {router}